xen: arm: clarify cacheability requirements of hypercall arguments.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 18 Dec 2013 11:54:46 +0000 (11:54 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 18 Dec 2013 13:05:10 +0000 (13:05 +0000)
commit5d81d015539535fb7f79383c7b9d49253b5209fe
tree64d485efff3a0875d88a5a7a63a5d4e701764cf1
parent274ef72d25262f6157b49a335ef70111dc45608d
xen: arm: clarify cacheability requirements of hypercall arguments.

Accepting hypercall arguments which are either consistently in cached or
uncached is tricky and/or potentially slow, requiring a guest mapping lookup
to determine whether/when to do a cache clean or invalidate.

There are very few reasons, and no current use cases in practice, for a guest
to use uncached memory for their hypercall arguments. Therefore mandate that
all hypercall arguments must be mapped inner-cacheable.

Do not place any restriction on the outer-cacheability or on the cache
fill/flush strategy used.

If use cases arise then we can consider specific exemptions to this rule.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/include/public/arch-arm.h